<template>
  <div>
    <Editor id="tinymce" v-model="tinymceHtml" :init="editorInit"></Editor>
  </div>
</template>
<script>
import tinymce from 'tinymce/tinymce'
import 'tinymce/themes/silver/theme'
import Editor from '@tinymce/tinymce-vue'
export default {
   data: () => ({
     editorInit: {
  language_url: '/static/tinymce/zh_CN.js',
  language: 'zh_CN',
  skin_url: '/static/tinymce/skins/lightgray',
  height: 300
}
   }),
   components:{
     Editor
   }
}
</script>
<style lang="scss" scoped>
</style>